package com.qyhl.webtv.commonlib.utils.action;

import java.io.Serializable;

/**
 * 用户行为数据统计
 * @author helin
 * @date 2018/3/21
 */
public class ActionLogBean implements Serializable {

    /**
     * 站点
     */
    private int siteId;
    /**
     * 行为
     */
    private String action;

    /**
     * 分享标题
     */
    private String title;

    /**
     * 分享的类型
     *
     * 1.普通新闻 直播 2.图片新闻 3.推荐普通新闻 4.小视频 5.电商 6.图文 7.互动 8.链接 9.内容 10.乡镇 11.政务 12.专题 13.电台音频 14.电视视频 15.圈子 16.视频新闻
     *
     */
    private String type;
    /**
     * 分享内容的Id
     */
    private String proId;

    /**
     * 行为开始时间
     */
    private String startTime;
    /**
     * 行为结束时间
     */
    private String endTime;
    /**
     * 时间持续时间
     */
    private int duration;
    /**
     * 当前场景
     */
    private String nowScene;
    /**
     * 跳转场景
     */
    private String toScene;
    /**
     * 来自场景
     */
    private String fromScene;
    /**
     * 用户电话
     */
    private String userName;
    /**
     * 用户地址
     */
    private String  address;
    /**
     * 手机类型
     */
    private String phoneType;

    /**
     * 手机厂商
     */
    private String phoneBrand;

    /**
     * 系统版本
     */
    private String systemVersion;

    /**
     *  版本名称
     */
    private String appVersion;

    /**
     * 是否为第一次 0 不是 1 是
     */
    private int isFirst;
    /**
     * 手机的唯一标识
     */
    private String deviceId;

    /**
     * 网络状态
     */
    private String netWorkState;

    /**
     * 商店
     */
    private int shopId;

    private int advertiseSpaceId;

    private int advertisePutId;

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getAdvertiseSpaceId() {
        return advertiseSpaceId;
    }

    public void setAdvertiseSpaceId(int advertiseSpaceId) {
        this.advertiseSpaceId = advertiseSpaceId;
    }

    public int getAdvertisePutId() {
        return advertisePutId;
    }

    public void setAdvertisePutId(int advertisePutId) {
        this.advertisePutId = advertisePutId;
    }

    public String getAppVersion() {
        return appVersion;
    }
    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getNetWorkState() {
        return netWorkState;
    }

    public void setNetWorkState(String netWorkState) {
        this.netWorkState = netWorkState;
    }


    public String getPhoneBrand() {
        return phoneBrand;
    }

    public void setPhoneBrand(String phoneBrand) {
        this.phoneBrand = phoneBrand;
    }

    public String getSystemVersion() {
        return systemVersion;
    }

    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }

    public int getSiteId() {
        return siteId;
    }

    public void setSiteId(int siteId) {
        this.siteId = siteId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getNowScene() {
        return nowScene;
    }

    public void setNowScene(String nowScene) {
        this.nowScene = nowScene;
    }

    public String getToScene() {
        return toScene;
    }

    public void setToScene(String toScene) {
        this.toScene = toScene;
    }

    public String getFromScene() {
        return fromScene;
    }

    public void setFromScene(String fromScene) {
        this.fromScene = fromScene;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhoneType() {
        return phoneType;
    }

    public void setPhoneType(String phoneType) {
        this.phoneType = phoneType;
    }

    public int getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(int isFirst) {
        this.isFirst = isFirst;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "ActionLogBean{" +
                "siteId=" + siteId +
                ", action='" + action + '\'' +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", proId='" + proId + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", duration=" + duration +
                ", nowScene='" + nowScene + '\'' +
                ", toScene='" + toScene + '\'' +
                ", fromScene='" + fromScene + '\'' +
                ", userName='" + userName + '\'' +
                ", address='" + address + '\'' +
                ", phoneType='" + phoneType + '\'' +
                ", phoneBrand='" + phoneBrand + '\'' +
                ", systemVersion='" + systemVersion + '\'' +
                ", appVersion='" + appVersion + '\'' +
                ", isFirst=" + isFirst +
                ", deviceId='" + deviceId + '\'' +
                ", netWorkState='" + netWorkState + '\'' +
                '}';
    }
}
